API Documentation
BlendStateManager.h
1 // BlendStateManager.h
3 //
5 
6 namespace nkGraphics
7 {
13  class DLL_GRAPHICS_EXPORT BlendStateManager : public nkCommon::SingletonClass<BlendStateManager>
14  {
15  public :
16 
21 
28  BlendState* createOrRetrieve (const std::string_view& name) ;
35  BlendState* get (const std::string_view& name) ;
44  BlendState* getByIndex (unsigned int index) ;
51  void rename (const std::string_view& oldName, const std::string_view& newName) ;
57  void erase (const std::string_view& name) ;
58 
63  } ;
64 }
nkGraphics::BlendStateManager::getByIndex
BlendState * getByIndex(unsigned int index)
nkGraphics::BlendStateManager::createOrRetrieve
BlendState * createOrRetrieve(const std::string_view &name)
nkGraphics::BlendStateManager::~BlendStateManager
~BlendStateManager()
nkGraphics::BlendStateManager::get
BlendState * get(const std::string_view &name)
nkGraphics::BlendState
Holds all information about the blend operations to use when rendering.
Definition: BlendState.h:12
nkGraphics::BlendStateManager::getDefaultState
BlendState * getDefaultState() const
nkGraphics::BlendStateManager::rename
void rename(const std::string_view &oldName, const std::string_view &newName)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::BlendStateManager
Manages the blend states available in the component.
Definition: BlendStateManager.h:14
nkGraphics::BlendStateManager::erase
void erase(const std::string_view &name)